﻿namespace Arms.Persistence.Modules.Products.Mappings
{
    using Arms.Domain.Modules.Products;
    using System;

    internal class ProductGroupMap : ProductBaseMap<ProductGroup>
    {
        public ProductGroupMap()
            : base()
        {
            HasMany(x => x.Combinations).WithRequired(x => x.ProductGroup).HasForeignKey(x => x.ProductGroupID);
        }
    }
}
